<script setup>
import defaultAvatar from "../../../assets/img/dp-s.png";
defineProps({
  avatar: Object,
});
</script>

<template>
  <div class="page-imagepeople">
    <img :src="avatar || defaultAvatar" />
  </div>
</template>

<style lang="less">
.page-imagepeople {
  width: 100%;
  height: 100%;
  img {
    display: block;
    width: 100%;
    height: 100%;
  }
}
</style>
